![]() |
CollapseWindow |
||||
Header: | MacWindows.h | Carbon status: | Supported | |
Collapses or expands a window to its title bar .
OSStatus CollapseWindow ( WindowRef window, Boolean collapse );
A pointer to a window.
Indicates whether the window should be collapsed or expanded.
A result code.
The CollapseWindow function tells the Window Manager to collapse or expand a window depending upon the value passed in the inCollapseIt parameter. Only window definition functions that return the feature bit kWindowCanCollapse in response to a kWindowGetFeatures message support this function; see GetWindowFeatures.
This function is available with Appearance Manager 1.0 and later.
Supported in Carbon. Available in CarbonLib 1.0 and later when CarbonLib 1.0 or later is installed. Exported by CarbonLib 1.0 and later and by CarbonLib 1.0 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)